#pragma once

#include"Player.h"
#include "TeamTake.h"
#include <string>

class Team
{
public:
	Team();
	~Team();

	void setPlayerOne(Player * p1);
	void setPlayerTow(Player * p2);

	void addToScore(unsigned int addition);
	TeamTake & getTake();

	Player * getPlayerOne();
	Player * getPlayerTwo();

	void setTeamName(std::string name);
	std::string getTeamName();

private:

	std::string teamName;

	Player * playerOne;
	Player * playerTwo;
	
	unsigned int score;
	TeamTake take;
};